package com.qingcloud.fexecutor.base.enums;

/**
 * 代理消息协议.
 */
public enum AgentProtocolEnum {

    INSTALL(1, "部署"),
    UNINSTALL(2, "卸载"),
    START(3, "启动"),
    STOP(4, "停止"),
    COMMAND_LOG(5, "命令日志"),
    READ_CONFIG(6, "读配置"),
    WRITE_CONFIG(7, "写配置"),
    READ_LOG(8, "跟踪日志");

    public final Integer code;
    public final String name;

    AgentProtocolEnum(int code, String name) {
        this.code = code;
        this.name = name;
    }

}
